import { assign, map } from 'lodash'

const files = require.context('./modules', true, /.js$/)
const generators = files.keys().map(key => files(key).default)

export default assign({}, ...map(generators, generator => generator({})))
